package com.wish.risk.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@lombok.Getter
@lombok.Setter
@lombok.ToString
public class CreditApartmentResponseDto {

	//公寓授信表id
	private Long id;
	//公寓id
	private Long businessId;
	//公寓名称
	private String businessName;
	//注册日期
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date register_date;
	//注册资本
	private BigDecimal register_capital;
	//授信状态
	private Integer credit_staus;
	//总授信额度(万元)
	private BigDecimal hl_total_creditline;
	//总已用额度(万元)
	private BigDecimal hl_used_creditline;
	//总已用额度(%)
	private BigDecimal hl_used_creditline_percent;
	//总剩余可用额度(万元)
	private BigDecimal hl_surplus_creditline;
	//月授信额度(万元)
	private BigDecimal hl_monthly_total_creditline;
	//月已用额度(万元)
	private BigDecimal hl_monthly_used_creditline;
	//月已用额度(%)
	private BigDecimal hl_monthly_used_creditline_percent;
	//月剩余可用额度(万元)
	private BigDecimal hl_monthly_surplus_creditline;
	//资金方Id
	private Long capital_id;
	//资金方名称
	private String company_name;
	//上次修改时间
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date update_time;

	private Integer total_creditline_small;
	private Integer total_creditline_large;
	private Integer monthly_total_creditline_small;
	private Integer monthly_total_creditline_large;

}
